#ifndef _CL_SETUP_AUTOMATION_H_
#define _CL_SETUP_AUTOMATION_H_

#include <CL/cl.h>

namespace clAuto {
	extern cl_platform_id platform_id;
	extern cl_device_id device_id;
	extern cl_uint num_platforms;
	extern cl_uint num_devices;
	extern cl_context context;
	extern cl_command_queue command_queue;
	extern cl_program *program;
	extern cl_kernel *kernel;

	void clSetupAutomation(char **kernel_name, int nKernel, int loadKernelFromBinary = 1, int dispLog = 1, int default_device = 1);
	void clClearAutomation(void);
};

#endif

